<template>
  <div class="wrap">
    <div class="dateinfo">
      <span class="day">{{date.day}}</span>
      <span class="wth">{{date.wth}}</span>
    </div>
  </div>
</template>
<script>
export default {
  name: "date",
  props: {
    date: {
      type: Object,
      default: {}
    }
  }
};
</script>

<style lang="scss" scoped>
.wrap {
  width: 100%;
  height: 50px;
  background-color: #f1fcfc;
  box-shadow: 0px 5px 10px 0px rgba(216, 216, 216, 1);
  .dateinfo {
    width: 50%;
    height: 50px;
    margin: 0 auto;
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: space-between;

    span {
      display: block;
      height: 100%;
      line-height: 50px;
      font-size: 18px;
    }
  }
}
</style>